package com.smartleanx.module.hrm.service.examine.examineTemplate;

import javax.validation.Valid;

import com.alibaba.fastjson2.JSONObject;
import com.smartleanx.framework.common.pojo.PageResult;
import com.smartleanx.module.hrm.dal.dataobject.examine.examineTemplate.ExamineTemplateDO;

import java.util.List;

public interface ExamineTemplateService {

    PageResult<ExamineTemplateDO> getExaminePlanTemplateList(Integer pageNum, Integer pageSize, String templateName);

    Integer createPlanTemplate(@Valid JSONObject param);

    JSONObject getPlanTemplateUpdateInfo(Integer id);

    Integer updatePlanTemplate(@Valid JSONObject param);

    Integer deletePlanTemplate(Integer id);

    PageResult<ExamineTemplateDO> getExamineResultTemplateList(Integer pageNum, Integer pageSize, String templateName);

    Integer createResultTemplate(JSONObject param);

    JSONObject getResultTemplateUpdateInfo(Integer id);

    Integer updateResultTemplate(JSONObject param);

    Integer deleteResultTemplate(Integer id);

    List<JSONObject> getResultTemplateSelectList();
}
